package com.vincent.kdp.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/12/7.
 */

public class ConsumeBean {

    /**
     * code : 0
     * msg : success
     * data [
     {
     "price": 12000,
     "afterDiscount": 11400,
     "consumeNum": "YF1480045946214748364745",
     "departName": "武当山",
     "salesTime": 1480045946000
     },
     {
     "price": 1650,
     "afterDiscount": 1566,
     "consumeNum": "YF1480062773214748364745",
     "departName": "紫霞山",
     "salesTime": 1480062773000
     },
     {
     "price": 78430,
     "afterDiscount": 78430,
     "consumeNum": "YF1480319980194642767445",
     "departName": "紫霞山",
     "salesTime": 1480319981000
     },
     {
     "price": 78430,
     "afterDiscount": 1000,
     "consumeNum": "YF1480384077214748364745",
     "departName": "紫霞山",
     "salesTime": 1480384078000
     },
     {
     "price": 78430,
     "afterDiscount": 10000,
     "consumeNum": "YF1480386360214748364745",
     "departName": "紫霞山",
     "salesTime": 1480386360000
     },
     {
     "price": 17605,
     "afterDiscount": 17000,
     "consumeNum": "YF1480472085214748364745",
     "departName": "武当山",
     "salesTime": 1480472085000
     },
     {
     "price": 120,
     "afterDiscount": 0,
     "consumeNum": "YF1480665472214748364745",
     "departName": "武当山",
     "salesTime": 1480665472000
     },
     {
     "price": 12000,
     "afterDiscount": 12000,
     "consumeNum": "YF1480669675214748364745",
     "departName": "武当山",
     "salesTime": 1480669675000
     },
     {
     "price": 17605,
     "afterDiscount": 14000,
     "consumeNum": "YF1480923701214748364745",
     "departName": "武当山",
     "salesTime": 1480923701000
     },
     {
     "price": 12000,
     "afterDiscount": 13600,
     "consumeNum": "YF1481250131214748364745",
     "departName": "武当山",
     "salesTime": 1481250132000
     },
     {
     "price": 12000,
     "afterDiscount": 13600,
     "consumeNum": "YF1481250525214748364745",
     "departName": "武当山",
     "salesTime": 1481250525000
     }
     ]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * departName : 武当山
         * consumeNum : YF1480045946214748364745
         * salesTime : 1480045946000
         * price: 78430,
         * afterDiscount: 1000,
         */

        private String departName;
        private String consumeNum;
        private long salesTime;
        private long  price;
        private long  afterDiscount;

        public long getAfterDiscount() {
            return afterDiscount;
        }

        public void setAfterDiscount(long afterDiscount) {
            this.afterDiscount = afterDiscount;
        }

        public long getPrice() {
            return price;
        }

        public void setPrice(long price) {
            this.price = price;
        }

        public String getDepartName() {
            return departName;
        }

        public void setDepartName(String departName) {
            this.departName = departName;
        }

        public String getConsumeNum() {
            return consumeNum;
        }

        public void setConsumeNum(String consumeNum) {
            this.consumeNum = consumeNum;
        }

        public long getSalesTime() {
            return salesTime;
        }

        public void setSalesTime(long salesTime) {
            this.salesTime = salesTime;
        }
    }
}




